package com.health.income.server.service.impl;

import com.health.common.domain.PmsMedicDetails;
import com.health.income.server.mapper.MedicMapper;
import com.health.income.server.service.MedicService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName MedicServiceImpl
 * @Description 描述
 * @Author Qiu Feng
 * @Date 2025/2/25 11:48
 */
@Service
public class MedicServiceImpl implements MedicService {
    @Autowired
    private MedicMapper medicMapper;

    @Override
    public PmsMedicDetails getMedicDetails(Integer medicId) {
        return medicMapper.getMedicDetails(medicId);
    }

    @Override
    public List<PmsMedicDetails> getMedicOrderList(Integer medicId) {
        return medicMapper.getMedicOrderList(medicId);
    }

    @Override
    public PmsMedicDetails getMedicOrderDetails(Integer medicId) {
        return medicMapper.getMedicOrderDetails(medicId);
    }

    @Override
    public List<PmsMedicDetails> getSymptomTagsAll() {

        return medicMapper.getSymptomTagsAll();
    }
}
